//
//  APAPWorksDetailCommentTextCell.m
//  AqualPolo
//
//  Created by dong on 2024/5/10.
//

#import "APAPWorksDetailCommentTextCell.h"

@implementation APAPWorksDetailCommentTextCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _contentLabel = [[UILabel alloc] init];
        _contentLabel.textColor = LYRGBAColor(255, 255, 255, 0.6);
        _contentLabel.font = [LYFont fontWithSize:10 fontName:LYFontNamepfr];
        _contentLabel.textAlignment = NSTextAlignmentLeft;
        _contentLabel.numberOfLines = 0;
        [self.containerView addSubview:_contentLabel];
        [_contentLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.avatarImageView.mas_bottom).offset(10);
            make.left.equalTo(self.containerView).offset(8);
            make.right.equalTo(self.containerView).offset(-16);
            make.bottom.equalTo(self.containerView).offset(-8);
        }];
    }
    return self;
}

@end
